package code.c09;

/**
 * @author thinkpad - 83start
 * @version v1.0
 * @create 2022/10/30 21:29
 * @package code.e09
 * @description 文件说明
 */

public class Ex02  {
    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        Thread myThread = new Thread(myRunnable);
        myThread.start();

        for (int i = 300; i < 1000; i++) {
            System.out.println(i);
        }
    }

}

class MyRunnable implements Runnable{

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(i);
        }
    }
}
